home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / radio / adpcm.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  563b  |  22 lines

  1. /*
  2. ** adpcm.h - include file for adpcm coder.
  3. **
  4. ** Version 1.0, 7-Jul-92.
  5. */
  6.  
  7. struct adpcm_state {
  8.     short    valprev;    /* Previous output value */
  9.     char    index;        /* Index into stepsize table */
  10. };
  11.  
  12. #ifdef __STDC__
  13. #define ARGS(x) x
  14. #else
  15. #define ARGS(x) ()
  16. #endif
  17.  
  18. void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *));
  19. void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *));
  20. void ulaw_adpcm_coder ARGS((char [], char [], int, struct adpcm_state *));
  21. void adpcm_ulaw_decoder ARGS((char [], char [], int, struct adpcm_state *));
  22.